﻿using Microsoft.Reporting.WebForms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Modulos_SEA_Reportes_HistoricoAccesoSistema : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            rptViewer.LocalReport.DataSources.Clear();
            rptViewer.ProcessingMode = ProcessingMode.Local;
            ReportParameter parametro = new ReportParameter();
            //rptViewer.LocalReport.DataSources.Add(new ReportDataSource("DataSet2", ornMenu.ReporteListarMenuPorPerfil(Convert.ToInt32(ddlPerfil.SelectedValue))));
            rptViewer.LocalReport.Refresh();
            rptViewer.DocumentMapCollapsed = true;
        }
    }
}